package com.mib.browser;

import javax.swing.*;
import java.awt.*;

public class StatusBar extends JPanel {
    private String message;

    public StatusBar() {
        super.setPreferredSize(new Dimension(100, 18));
    }

    public void paintComponent(Graphics g) {
        super.paintComponent(g);
        g.setColor(Color.BLACK);
        g.drawString(this.message, 4, 10);
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
